<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>创建接口</title>
    <link rel="stylesheet" href="../../lib/layui/css/layui.css">
    <script src="../../js/jquery.min.js"></script>
    <!--    每页需引入的文件-->
    <script type="text/javascript" src="../../js/config.js"></script>
    <script type="text/javascript" src="../../lib/scarecrow/createSignSdk.js"></script>
    <script type="text/javascript" src="../../lib/scarecrow/scarecrowRequest_scarecrow.min.js"></script>
    <script type="text/javascript" src="../../js/httpRequest.js"></script>
    <!--    每页需引入的文件-->
    <script src="../../lib/layui/layui.js"></script>
    <style>
        input:disabled, input[disabled] {
            color: #757575;
            opacity: 1;
            -webkit-text-fill-color: #757575;
            -webkit-opacity: 1;
        }
    </style>
</head>
<body>

<div class="layui-card">
    <div class="layui-card-body">
        <div class="layui-form">

            <div class="layui-form-item">
                <label class="layui-form-label">项目ID</label>
                <div class=" layui-input-block">
                    <select id="allProjectList" class="layui-disabled" disabled>
                    </select>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">分类ID</label>
                <div class=" layui-input-block">
                    <select id="allCategoryList" class="layui-disabled" disabled>
                    </select>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">接口名称</label>
                <div class=" layui-input-block">
                    <input type="text" id="title" lay-verify="required" autocomplete="off" placeholder="接口名称" class="layui-input" class="layui-disabled" disabled>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">接口地址</label>
                <div class=" layui-input-block">
                    <input type="text" id="url" lay-verify="required"  autocomplete="off" placeholder="接口地址" class="layui-input" class="layui-disabled" disabled>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">请求方式</label>
                <div class=" layui-input-block">
                    <select id="request_method" lay-verify="required"  class="layui-disabled" disabled>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">请求参数</label>
                <div class=" layui-input-block">
                    <table class="layui-table">
                        <colgroup>
                            <col width="200">
                            <col width="200">
                            <col width="200">
                            <col>
                        </colgroup>
                        <thead>
                        <tr>
                            <th>参数</th>
                            <th>类型</th>
                            <th>必须</th>
                            <th>说明</th>
                        </tr>
                        </thead>
                        <tbody class="param_tr" id="allParamList">
                        </tbody>
                    </table>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">返回结果</label>
                <div class=" layui-input-block">
                    <textarea id="result" placeholder="请输入返回结果" class="layui-textarea" rows="20"  class="layui-disabled" disabled></textarea>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="../../js/api/view_api.js"></script>
</body>
</html>